package cn.threewaters.qtyy.web.facade;

import java.util.List;

import com.google.common.collect.Lists;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class TreeNode {

	private String id;
	private String name;
	private List<TreeNode> children = Lists.newArrayList();

	public TreeNode(String id, String name) {
		this.id = id;
		this.name = name;
	}

}
